" 测试嵌套循环
echo 'Testing nested loops'

" 创建一个简单的矩阵
let matrix = [[1, 2], [3, 4]]
echo 'Matrix:', matrix

for row in matrix
    echo 'Row:', row
    for element in row
        echo 'Element:', element
    endfor
endfor

echo 'Nested loop test completed'